package com.eonmind.common.provider.entity.pay;

import com.mongoplus.annotation.ID;
import com.mongoplus.annotation.collection.CollectionName;
import com.mongoplus.annotation.index.MongoIndex;
import com.mongoplus.enums.IdTypeEnum;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.FieldNameConstants;
import org.springframework.data.annotation.Id;

@Data
@CollectionName("paymentInfo")
@FieldNameConstants
@ToString
public class PaymentInfo{

    @ID(type = IdTypeEnum.AUTO)
    private Long id;

    private String orderNo;//商品订单编号

    private String transactionId;//支付系统交易编号

    private Integer paymentType;//支付类型

    private String tradeType;//交易类型

    private String tradeState;//交易状态

    private Integer payerTotal;//支付金额(分)

    private String content;//通知参数

    private Long createTime;

    private Long updateTime;

    private Integer del;
}
